package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("employees")
public class Employee implements Serializable {

    @TableId("employee_id")
    private Integer id;

    private String firstName;

    private String lastName;

    private String email;

    private String phoneNumber;

    private String jobId;

    private Double salary;

    private Double commission_pct;

    private Integer managerId;

    private Integer departmentId;

    private Date hiredate;
}
